Skip to content

[Framework] Cmake: set warnings-as-errors in all the Framework targets#6145

Open
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:framework_warnings_as_errors
Open

[Framework] Cmake: set warnings-as-errors in all the Framework targets#6145
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:framework_warnings_as_errors

Conversation

@fredroy

@fredroy fredroy commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Based on

The continuation of #5914 ,#6027, #6028, #6034.
This should make the compilation of the target Sofa.Framework warning-free.... with the current flags.

[with-all-tests]


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@fredroy fredroy added pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code labels Jun 8, 2026
@fredroy fredroy changed the title [Framwork] Cmake: set warnings-as-errors in all the Framework targets [Framework] Cmake: set warnings-as-errors in all the Framework targets Jun 8, 2026
@fredroy fredroy force-pushed the framework_warnings_as_errors branch 6 times, most recently from 9048206 to d2e7617 Compare June 8, 2026 23:40
@fredroy

fredroy commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

[ci-build][with-all-tests]

@fredroy fredroy added the pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently label Jun 9, 2026
@fredroy fredroy force-pushed the framework_warnings_as_errors branch from d2e7617 to 04cd3bd Compare June 9, 2026 23:08
@hugtalbot

Copy link
Copy Markdown
Contributor

When updating of VMs / CIs, warnings are to be expected therefore creating errors. Let's discuss this with @bakpaul

@hugtalbot hugtalbot added this to the v26.06 milestone Jun 12, 2026
@fredroy fredroy force-pushed the framework_warnings_as_errors branch from 04cd3bd to 02ee377 Compare June 14, 2026 21:58
@fredroy fredroy removed the pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently label Jun 14, 2026
@bakpaul

bakpaul commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Yes indeed, I would like to merge it after the CI migration !

@alxbilger alxbilger added the pr: highlighted in next release Highlight this contribution in the notes of the upcoming release label Jun 18, 2026
@fredroy fredroy modified the milestones: v26.06, v26.12 Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: highlighted in next release Highlight this contribution in the notes of the upcoming release pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants